namespace HEFramework
{
    public struct SceneInfo
    {
        public Scene Scene { get; set; }
        public object Message { get; set; }
    }


    public static class SceneSystem
    {
        public class SceneSystem_Awake : AwakeSystem<Scene, object>
        {
            protected override void Awake(Scene _self, object _a)
            {
                EventListener.Instance.Invoke((long)_self.SceneType, new SceneInfo { Scene = _self, Message = _a });
            }
        }
    }
}